package com.lesson60.sshdemo;

/**
 * AbstractCategory entity provides the base persistence definition of the
 * Category entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCategory implements java.io.Serializable {

	// Fields

	private Integer id;
	private String categoryname;
	private Integer fatherid;
	private String categorypath;
	private Integer deleteid;

	// Constructors

	/** default constructor */
	public AbstractCategory() {
	}

	/** full constructor */
	public AbstractCategory(String categoryname, Integer fatherid,
			String categorypath, Integer deleteid) {
		this.categoryname = categoryname;
		this.fatherid = fatherid;
		this.categorypath = categorypath;
		this.deleteid = deleteid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCategoryname() {
		return this.categoryname;
	}

	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}

	public Integer getFatherid() {
		return this.fatherid;
	}

	public void setFatherid(Integer fatherid) {
		this.fatherid = fatherid;
	}

	public String getCategorypath() {
		return this.categorypath;
	}

	public void setCategorypath(String categorypath) {
		this.categorypath = categorypath;
	}

	public Integer getDeleteid() {
		return this.deleteid;
	}

	public void setDeleteid(Integer deleteid) {
		this.deleteid = deleteid;
	}

}